import Vue from 'vue'
import Router from 'vue-router'
import _Index from '@/views/Index' // 测试
const _import = require('./_import_' + process.env.NODE_ENV)
Vue.use(Router)

export default new Router({
  base: '/',
  mode: 'history',
  routes: [
    {
      path: '/',
      redirect: '/index'
    },
    {
      path: '/index',
      name: 'index',
      component: _Index
    }
  ]
})
